﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace StudentManagementSystem.Model
{
 

    public class Class
    {
        public int ClassId { get; set; }
        [Required]
        public string Name { get; set; }
        public int SchoolId { get; set; }
        public School School { get; set; }
        public List<Student> Students { get; set; }
    }

}
